﻿namespace Tauren.Form.Entity.Const
{
    public class GlobalConst
    {
        /// <summary>
        /// 到分
        /// </summary>
        public const string DATE_FORMAT_MINUTES = "yyyy-MM-dd HH:mm";
        /// <summary>
        /// 到天
        /// </summary>
        public const string DATE_FORMAT_DAY = "yyyy-MM-dd";
        /// <summary>
        /// 到小时
        /// </summary>
        public const string DATE_FORMAT_HOURS = "yyyy-MM-dd HH";
        /// <summary>
        /// 到秒
        /// </summary>
        public const string DATE_FORMAT_SECONDS = "yyyy-MM-dd HH:mm:ss";

        #region 标识

        /// <summary>
        /// 人员缓存标识
        /// </summary>
        public const string EMPLOYEE_FLAG_REDIS_KEY = "EMPLOYEE_FLAG_REDIS_KEY";

        /// <summary>
        /// 组织缓存标识
        /// </summary>
        public const string ORGANIZATION_FLAG_REDIS_KEY = "ORGANIZATION_FLAG_REDIS_KEY";

        /// <summary>
        /// 职位缓存标识
        /// </summary>
        public const string POSTIONS_FLAG_REDIS_KEY = "POSTIONS_FLAG_REDIS_KEY";

        /// <summary>
        /// 单位缓存标识
        /// </summary>
        public const string UNITS_FLAG_REDIS_KEY = "UNITS_FLAG_REDIS_KEY";

        /// <summary>
        /// 资源文件缓存标识
        /// </summary>
        public const string RESOURCES_FLAG_REDIS_KEY = "RESOURCES_FLAG_REDIS_KEY";


        #endregion

        #region 模块标识 
        /// <summary>
        /// 语言
        /// </summary>
        public const string LANGUAGE_FLAG_MODULE_KEY = "LANGUAGE";  
         

        /// <summary>
        /// 文件夹
        /// </summary>
        public const string RESOURCES_FLAG_MODULE_FILEFOLDER_KEY = "FILEFOLDER";
        /// <summary>
        /// 表单表信息
        /// </summary>
        public const string RESOURCES_FLAG_MODULE_FORM_TABLEINFO_KEY = "FORMTABLEINFO";

        /// <summary>
        /// 表单设置
        /// </summary>
        public const string RESOURCES_FLAG_MODULE_FIELD_FORM_KEY = "FIELDFORM";

        #endregion
        #region 内容标识
        public const string LANGUAGE_CONTENT_LANGUAGE_KEY = "LANGUAGE";
        #region 资源文件数据
        public const string RESOURCES_CONTENT_ENABLE_KEY = "ENABLE";
        public const string RESOURCES_CONTENT_DISABLE_KEY = "DISABLE";

        #endregion
        #endregion

        /// <summary>
        /// 根据$分割
        /// </summary>
        public const string SEPARATOR_DOLLAR = "$";
        /// <summary>
        /// 根据逗号分割
        /// </summary>
        public const string SEPARATOR_COMMA = ",";
        public const string AuthorizationTokenKey = "Authorization";
        public const string GolbalData = "GolbalData";
    }
}
